package com.sth.cloud.service;

import org.apache.ibatis.annotations.Param;

/**
 * @Author: 司天宏
 * @Description:
 * @Date: 2024-04-14 13:59
 */

public interface AccountService {
    /**
     * 扣减账户余额
     *
     * @param userId 用户id
     * @param money  本次消费金额
     */
    void decrease(@Param("userId") Long userId, @Param("money") Long money);
}
